<template>
  <div>
    home
  </div>
</template>

<script>
import { hello } from "../api/hello"
import { getAllUser } from "../api/user";
export default {
  name: "Home",

  data() {
    return {};
  },

  mounted() {
    this.getHello();
  },

  methods: {
    async getHello() {
      let res = await hello("http://localhost:8088");
      console.log(res);
      let res2 = await getAllUser("http://localhost:8088");
      console.log(res2);
    },
  },
};
</script>
